motorcycles = ['honda','yamaha','suzuki']
print(motorcycles)

popped_motoecycle = motorcycles.pop()
print(motorcycles)
print(popped_motoecycle)

motorcycles = ['honda','yamaha','suzuki']

last_owned = motorcycles.pop()
print(f"The last motorcycles I owned was a {last_owned.title()}.")

first_owned = motorcycles.pop(0)
print(f"The first motorcycles I owned was a {first_owned.title()}.")

motorcycles = ['honda','yamaha','suzuki','ducati']
too_expensive = 'ducati'
motorcycles.remove(too_expensive)
print(motorcycles)
print(f"\nA {too_expensive.title()} is too expensive for me.")

list = ['丛浩然','万宇辉','易子烨','周志强']
uncome = '周志强'
print(f"{uncome}不能来")
list[3] = '张少龙'
list.insert(0,'王靖圆')
list.insert(2,'杨惠阳')
list.append('吴家文')
print(f"尊敬的{list}同学：\n\t诚挚的邀请你们干饭\n此致\n\t敬礼！")
print("抱歉，只能邀请两位同学共进晚餐")
popped = list.pop()
print(f"{popped},抱歉！无法继续邀请你")
popped = list.pop()
print(f"{popped},抱歉！无法继续邀请你")
popped = list.pop()
print(f"{popped},抱歉！无法继续邀请你")
popped = list.pop()
print(f"{popped},抱歉！无法继续邀请你")
popped = list.pop()
print(f"{popped},抱歉！无法继续邀请你")
print(f"{list[0]}，你可以继续参加")
print(f"{list[1]}，你可以继续参加")
del list[0]
del list[0]
print(list)